---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "clickhouse_role Resource - terraform-provider-clickhouse"
subcategory: ""
description: |-
  Resource to manage Clickhouse roles
---

# clickhouse_role (Resource)

Resource to manage Clickhouse roles



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `database` (String) Database where to grant permissions to the user
- `name` (String) Role name

### Optional

- `privileges` (Set of String) Granted privileges to the role. Privileges will be granted at DB level

### Read-Only

- `id` (String) The ID of this resource.


